<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $keys->getLang();?>" lang="<?php echo $keys->getLang();?>">
<head>
  <title><?php echo $keys->appTitle; ?></title>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="noindex, nofollow" />
	<style type="text/css" media="screen"> /*<![CDATA[*/ <!--
    @import url(style/budget.css?ver=<?php echo CB_VERSION;?>);
    @import url(style/colors.css?ver=<?php echo CB_VERSION;?>);
    @import url(style/tables.css?ver=<?php echo CB_VERSION;?>);
    --> /*]]>*/
  </style>
  <link type="text/css" href="style/css/ui-darkness/jquery-ui-1.7.1.custom.css" rel="stylesheet" />
  <style type="text/css" media="print"> /*<![CDATA[*/ <!--
    @import url(style/budget_print.css?ver=<?php echo CB_VERSION;?>);
    @import url(style/tables_print.css?ver=<?php echo CB_VERSION;?>);
    --> /*]]>*/
  </style>
  <link rel="shortcut icon" href="favicon.ico">
  
  <script type="text/javascript" src="js/jquery-1.3.min.js"></script>
  <script type="text/javascript" src="js/ui.core.js"></script>
	<script type="text/javascript" src="js/ui.datepicker.js"></script>
	<script type="text/javascript" src="js/ui.datepicker-fr.js"></script>
	<script type="text/javascript" src="js/ui.datepicker-tr.js"></script>
  <script type="text/javascript" src="js/ajaxfileupload.js"></script>
  <script type="text/javascript" src="js/process.js?ver=<?php echo CB_VERSION;?>"></script>

</head>
<body>
<div id="wrapper1">
  <div id="wrapper2">
    <div class="header" id="header">
      <h1><a href="#" action="home"><img src="style/logo.png" with="250" height="83"></a></h1>
      <OBJECT id="clock" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="100" HEIGHT="100">
        <PARAM NAME=movie VALUE="style/clock.swf">
        <PARAM NAME=quality VALUE=high>
        <PARAM NAME=bgcolor VALUE="#656565">
        <embed src="style/clock.swf" width="100" height="100" wmode="transparent" type="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"/>
      </OBJECT>
        <ul>
          <?php
          $userSettings = class_settings::getInstance(); 
          if($userSettings->secureAccess() === '1') { 
          ?>
          <li><a href="#" action="login"><img src="style/icons/lock.png" align="bottom"> <?php echo $keys->link_logout; ?></a></li>
          <?php } ?>
          <li><a href="#" action="settings"><img src="style/icons/user_edit.png" align="bottom"> <?php echo $keys->link_pageSettings; ?></a></li>
          <li><a href="#" onClick="searchFormSubmit()"><img src="style/icons/zoom.png" id="searchIcon"/> <?php echo $keys->text_Search; ?> <input size="5" alt="search..." type="text" name="search" id="keys" onkeyup="searchFormSubmit()"></a></li>
          <li><a href="#" action="actions"><img src="style/icons/wrench.png" align="bottom"> <?php echo $keys->link_menuActions; ?></a></li>
          <li><a href="#" action="wizard"><img src="style/icons/transmit_edit.png" align="bottom"> <?php echo $keys->link_menuWizard; ?></a></li>
          <li><a href="#" action="home"><img src="style/icons/chart_pie.png" align="bottom"> <?php echo $keys->link_overview; ?></a></li>
          <li id="loading"><img src="style/icons/loading.gif"></li>
        </ul>
    </div>
    <div class="main">
      <div class="centerpadding">
        <div class="main-content" id="main"><?php echo class_controller::$output; ?></div>
      </div>
    </div>
  <div class="clearing"></div>
  <div id="footer" class="footer"><a href="http://www.clearbudget.net/contact.html" target="_blank"><?php echo $keys->link_contact; ?></a>
   - <a href="http://www.clearbudget.net/?checkVersion&version=<?php echo CB_VERSION;?>" target="_blank"><?php echo $keys->link_checkPreviousVersion ?></a>
    - <a href="#" action="credits"><?php echo $keys->link_credits ?></a>
   <p id="copyrightnote">ClearBudget <?php echo CB_VERSION.' ('.CB_RELEASE; ?>)</p></div>
  </div>
</div>
</body>
</html>